﻿ALTER TABLE [dbo].[SmallOrder]
	ADD CONSTRAINT [SmallOrderToAgreement] 
	FOREIGN KEY ([AgreementId])
	REFERENCES [dbo].[Agreement] ([Id])
	ON UPDATE CASCADE
	ON DELETE CASCADE
